<template>
  <div class="topic_box">
    <div class="title_text">{{ title }}</div>
  </div>
</template>

<script>
export default {
  props: {
    title: {
      type: String,
      default: '默认标题'
    }
  }
}
</script>

<style lang="scss" scoped>
.topic_box {
  margin-bottom: 10px;
  .title_text {
    padding-left: 10px;
    font-size: 18px;
    font-weight: 550;
    position: relative;
    &::after{
      content: '';
      width: 4px;
      height: 20px;
      background: #FF80AB;
      position: absolute;
      top: 50%;
      transform: translateY(-40%);
      left: 0;
    }
  }
}
</style>